package com.seka.control.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

/**
 *  seka发现调度任务
 * @author mw
 *
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface SekaDiscoveryTask {

	/**
	 * 类注入工厂名称 bean name  ,同Component.value
	 * @return
	 */
	@AliasFor(annotation = Component.class)
	String value() default "";
}
